package com.stox.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@Data
@EqualsAndHashCode(callSuper=true)
@JsonIgnoreProperties(ignoreUnknown=true, value={"type"})
public class Scrip extends AbstractModel {
	private static final long serialVersionUID = 1L;
	
	public static class ScripType extends Type{
		private static final long serialVersionUID = 1L;
		
		public static final ScripType ANY = new ScripType("");
		
		public ScripType(String path) {
			super("Scrip"+path);
		}
		
	}
	
	public Scrip(){
		super(ScripType.ANY);
	}

	private String exchangeCode;
	
	private String scripGroup;
	
}
